﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CodePicker.aspx.cs" Inherits="SmartSpace.WebApp.Modules.Core.Pickers.CodePicker" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
                        <table class="ss-list" cellspacing="0" cellpadding="0" style="width: 100%;">
                            <tr>
                                <th style="width: 100px;">编号
                                </th>
                                <th style="width: 120px;">名称
                                </th>
                            </tr>
                            <asp:Repeater ID="_ctlListCode" runat="server">
                                <ItemTemplate>
                                    <tr onclick="window.returnValue={value:'<%# Eval("Code") %>', text:'<%# Eval("Caption") %>'};;window.close();">
                                        <td>
                                            <%# Eval("Code") %>
                                        </td>
                                        <td>
                                            <%# Eval("Caption") %>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>
    </div>
    </form>
</body>
</html>
